#ifndef __USART_H
#define __USART_H
#include "gd32f10x.h"


/*42v,2a*/
#define	set_v	545
#define set_a	50

#define USART_BUFF_SIZE 1024
#define subnumber	30


extern uint8_t usart_rx_buff[1024];

extern uint16_t usart_p;

extern uint8_t rec_data[1024];

//extern bool app_usart_task_poll(uint8_t *rx_data);

//extern bool step_on_1(void);

extern void read_set_info(int readnum);

extern void read_real_info(int readnum);

extern bool reg200(int setnum);

extern bool reg201(int setnum);

extern bool reg202(int setnum);

extern bool reg203(int setnum);

extern bool reg204(int setnum);

extern void gd_eval_com_init1(void);


#endif
